/**
 * Created by oneminute on 7/27/14.
 */

var lz = require("../lib/utils/modules")();

var db = lz.ArangoDB.getConnection();
db.query.string = "FOR u IN WITHIN(`USERS_COLLECTION`, @lat, @lon, 5000, 'distance') RETURN u";
db.query.exec({lat:36.694713, lon:117.118489}, function(_err, _ret) {
    lz.Logger.info(_ret);
});

